/*
Simple wrapper for richedit
*/

#pragma once

#include <Windows.h>
#include <functional>
#include <vector>

#include "../winsys.h"

class CEditWindow : public CWindow {
public:
	struct STextBlockColoring {
		int start, end;
		int color;
	};

	CEditWindow(CWindow* parent, int ControlID);
	~CEditWindow();

	std::string GetContent() const;
	int SetContent(const std::string& content);
};